home *** CD-ROM | disk | FTP | other *** search
/ Network CD 2 / Network CD - Volume 2.iso / programs / internet / tcp / amitcp / amitcp-sdk-40.lha / AmiTCP-4.0 / netinclude / pragmas / usergroup_pragmas.h < prev   
Encoding:
C/C++ Source or Header  |  1994-10-03  |  2.4 KB  |  62 lines

  1. #ifndef PRAGMAS_USERGROUP_PRAGMAS_H
  2. #define PRAGMAS_USERGROUP_PRAGMAS_H \
  3.        "$Id$"
  4. /*
  5.  *    Pragmas file for usergroup.library
  6.  *
  7.  *      Copyright © 1994 AmiTCP/IP Group,
  8.  *                       Network Solutions Development, Inc.
  9.  *                       All rights reserved.
  10.  */
  11. /* Setup functions */
  12. #pragma libcall UserGroupBase ug_SetupContextTagList 1E 9802
  13. #pragma tagcall UserGroupBase ug_SetupContextTags 1E 9802
  14. #pragma libcall UserGroupBase ug_GetErr 24 00
  15. #pragma libcall UserGroupBase ug_StrError 2A 101
  16. /* User identification */
  17. #pragma libcall UserGroupBase getuid 30 00
  18. #pragma libcall UserGroupBase geteuid 36 00
  19. #pragma libcall UserGroupBase setreuid 3C 1002
  20. #pragma libcall UserGroupBase setuid 42 001
  21. /* Group membership */
  22. #pragma libcall UserGroupBase getgid 48 00
  23. #pragma libcall UserGroupBase getegid 4E 00
  24. #pragma libcall UserGroupBase setregid 54 1002
  25. #pragma libcall UserGroupBase setgid 5A 001
  26. #pragma libcall UserGroupBase getgroups 60 9002
  27. #pragma libcall UserGroupBase setgroups 66 9002
  28. #pragma libcall UserGroupBase initgroups 6C 0902
  29. /* User database */
  30. #pragma libcall UserGroupBase getpwnam 72 901
  31. #pragma libcall UserGroupBase getpwuid 78 001
  32. #pragma libcall UserGroupBase setpwent 7E 00
  33. #pragma libcall UserGroupBase getpwent 84 00
  34. #pragma libcall UserGroupBase endpwent 8A 00
  35. /* Group database */
  36. #pragma libcall UserGroupBase getgrnam 90 901
  37. #pragma libcall UserGroupBase getgrgid 96 001
  38. #pragma libcall UserGroupBase setgrent 9C 00
  39. #pragma libcall UserGroupBase getgrent A2 00
  40. #pragma libcall UserGroupBase endgrent A8 00
  41. /* Password handling */
  42. #pragma libcall UserGroupBase crypt AE 9802
  43. #pragma libcall UserGroupBase ug_GetSalt B4 09803
  44. #pragma libcall UserGroupBase getpass BA 901
  45. /* Default protections */
  46. #pragma libcall UserGroupBase umask C0 001
  47. #pragma libcall UserGroupBase getumask C6 00
  48. /* Sessions */
  49. #pragma libcall UserGroupBase setsid CC 00
  50. #pragma libcall UserGroupBase getpgrp D2 00
  51. #pragma libcall UserGroupBase getlogin D8 00
  52. #pragma libcall UserGroupBase setlogin DE 901
  53. /* Sessions, user login database (utmp) */
  54. #pragma libcall UserGroupBase setutent E4 00
  55. #pragma libcall UserGroupBase getutent EA 00
  56. #pragma libcall UserGroupBase endutent F0 00
  57. #pragma libcall UserGroupBase getlastlog F6 001
  58. #pragma libcall UserGroupBase setlastlog FC 98003
  59. /* Credentials */
  60. #pragma libcall UserGroupBase getcredentials 102 801
  61. #endif /* !PRAGMAS_USERGROUP_PRAGMAS_H */
  62.